var express = require('express');
var router = express.Router();
var mongoose = require('mongoose')
var userSchema = new mongoose.Schema({
  name: String,
  pass: String
})
/* GET users listing. */
router.get('/', function(req, res, next) {
  res.send('respond with a resource');
});
module.exports = mongoose.model('User', userSchema)
// module.exports = router;
